/*
 * Copyright (c) 2014 laidian. All Rights Reserved.
 * 
 * @author yaoyuming
 * 
 * @date 2019-12-11 18:06
 */
package com.yao.common.constant;

/**
 * 系统常量
 * 
 * @author yaoyuming
 * @date 2019/12/11 18:06
 */
public final class SysConst {

    /* http header 参数：用户id*/
    public static final String HEADER_USER_ID = "current_user_id";

    /* http header 参数：token */
    public static final String TOKEN_KEY = "access_token";

    /* 默认操作人，在未开发操作人时使用 */
    public static final Integer DEFALUT_OPERATOR = 0;

    /* Redis 保存的百度api token */
    @Deprecated
    public static final String REDIS_BAIDU_TOKEN = "BAIDU_ACCESS_TOKEN";


    /* access_token保存到redis的前缀*/
    @Deprecated
    public static final String PRE_ACCESS_TOKEN = "AT_";

}